<?php
/**
 * IndexController - The default controller class
 * 
 * @author
 * @version 
 */

require_once('Extension/Controller/Action.php');

class IndexController extends Extension_Controller_Action 
{
	/**
	 * The default action - show the home page
	 */
    public function indexAction() 
    {
        require_once('Core/Model/Function/Post.php');
        $functionPost = new Core_Model_Function_Post();
        $posts = $functionPost->findAll();
        $this->view->posts = $posts;
    }

}